package org.example.lotterysystem.service.dto;

import java.util.Objects;

public class CreateActivityDTO {
    /**
     * 活动ID
     */
    private Long activityId;

    public Long getActivityId() {
        return activityId;
    }

    public void setActivityId(Long activityId) {
        this.activityId = activityId;
    }

    @Override
    public boolean equals(Object object) {
        if (this == object) return true;
        if (object == null || getClass() != object.getClass()) return false;
        CreateActivityDTO that = (CreateActivityDTO) object;
        return Objects.equals(activityId, that.activityId);
    }

    @Override
    public int hashCode() {
        return Objects.hashCode(activityId);
    }
}
